export interface Dormitory {
  id?: number;
  room_number: string;
  capacity: number;
  occupied: number;
  floor: number;
  building: string;
  description: string;
  status: string;
}

export interface DormitoryQuery {
  page?: number;
  page_size?: number;
  building?: string;
}
export interface DormitoryType {
    dormitories: Dormitory[];
    page: number
    total: number
}

export interface DormitoryResponse<T> {
    code: number,
    data: T
}